<include file="Public/header" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<div class="container">

<form class="form-horizontal" method="post" enctype="multipart/form-data" action="{:(groupupdate)}">
    <!--隐藏id-->
    <input type="hidden" name="gid" value="{$groupupdate.gid}">
    <div class="form-group">
        <label for="groupname" class="col-md-2 control-label">社团名称</label>
        <div class="col-md-5">
            <input type="text" class="form-control" id="groupname" name="groupname" placeholder="groupname" value="{$groupupdate.groupname}">
        </div>
    </div>
<!-- 
    <div class="form-group">
        <label for="pass2" class="col-md-2 control-label">确认密码</label>
        <div class="col-md-5">
            <input type="password" class="form-control" id="pass2" name="pass2" placeholder="confirm pass" value="{$groupupdate.pass2}">
        </div>
    </div>
 -->
 	<div class="form-group">
        <label for="team" class="col-md-2 control-label">所属团队 </label>
        <div class="col-md-5">
            <input type="team" class="form-control" id="team" name="team" placeholder="team" value="{$groupupdate.team}">
        </div>
    </div>
    
    <div class="form-group">
        <label for="intro" class="col-md-2 control-label">社团介绍</label>
        <div class="col-md-5">
            <input type="intro" class="form-control" id="intro" name="intro" placeholder="intro" value="{$groupupdate.intro}">
        </div>
    </div>
    
    <div class="form-group">
        <label for="leader" class="col-md-2 control-label">负责人 </label>
        <div class="col-md-5">
            <input type="leader" class="form-control" id="leader" name="leader" placeholder="leader" value="{$groupupdate.leader}">
        </div>
    </div>

    <div class="form-group">
        <label for="createtime" class="col-md-2 control-label">成立时间</label>
        <div class="col-md-5">
            <input type="text" class="form-control" id="createtime" name="createtime" placeholder="createtimephone" value="{$groupupdate.createtime}">
        </div>
    </div>

    <div class="form-group">
        <label for="image" class="col-md-2 control-label">LOGO</label>
        <div class="col-md-3">
            <img clas="img-rounded" id="image" src="__PUBLIC__/Uploads/logo/{$groupupdate.logo}"width="100px"/>
        </div>
    </div>
    <div class="form-group">
        <label for="logo" class="col-md-2 control-label">修改LOGO</label>
        <div class="col-md-2">
            <input type="file" id="logo" name="logo">
        </div>
    </div>

    <div class="col-md-4 col-md-offset-5">
        <button type="submit" name="submit" class="btn btn-default">修改</button>
        <button type="reset" name="reset" class="btn btn-default">重置</button>
        <a href="userList"><button type="button" class="btn btn-default">返回</button></a>
    </div>

</form>
</div>

<include file="Public/footer" />